package top.psjj.news.service;

import top.psjj.news.po.TType;

import java.util.List;

/**
 * @Auther:小陈的Java
 */
public interface TypeService {
    List<TType> queryAll() throws Exception;

    void add(TType type)throws Exception;

    TType queryTypeById(int id)throws Exception;

    void modify(TType type)throws Exception;

    void del(int id)throws Exception;

    List<TType> queryAllRelationNews() throws Exception;
}
